import BasicLayout from "./layoutes/BasicLayout";
import Login from "./pages/login";
import BlankLayout from "./layoutes/BlankLayout";
import Home from "./pages/home";
import UserManager from "./pages/user_manager";
import MachineManager from "./pages/machine_manager";
import AuthManager from "./pages/auth_manager";
import UserSelf from "./pages/user_self";
import Illustrate from "./pages/illustrate";
import MachineStatus from "./pages/machine_status";
import Setting from "./pages/setting";
import DataSearch from "./pages/data_search";
import Register from "./pages/register";


const routerConfig = [
    {
        path: '/home',
        layout: BasicLayout,
        component: Home,
    },
    {
        path: '/user/manager',
        layout: BasicLayout,
        component: UserManager,
    },
    {
        path: '/machine/status',
        layout: BasicLayout,
        component: MachineStatus,
    },
    {
        path: '/machine/manager',
        layout: BasicLayout,
        component: MachineManager,
    },
    {
        path: '/worker/setting',
        layout: BasicLayout,
        component: Setting,
    },
    {
        path: '/data/search',
        layout: BasicLayout,
        component: DataSearch,
    },
    {
        path: '/auth/manager',
        layout: BasicLayout,
        component: AuthManager,
    },
    {
        path: '/user/self',
        layout: BasicLayout,
        component: UserSelf,
    },
    {
        path: '/illustrate',
        layout: BasicLayout,
        component: Illustrate,
    },
    {
        path: '/',
        layout: BlankLayout,
        component: Login,
    },
    {
        path: '/register',
        layout: BlankLayout,
        component: Register,
    },
];

export default routerConfig;